package io.renren.modules.avanotes.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.BizUtils;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;
import io.renren.common.utils.RedisKeys;
import io.renren.common.vo.LocalMarkdownNotesVo;
import io.renren.common.vo.TokenVo;
import io.renren.config.BizConfig;
import io.renren.modules.avanotes.dao.*;
import io.renren.modules.avanotes.entity.*;
import io.renren.modules.avanotes.service.*;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;


//@Service("materialScheduleRelationService")//默认只有一个实现，那就不写名称了直接使用默认的名称！
@Service
public class MaterialScheduleRelationServiceImpl extends ServiceImpl<MaterialScheduleRelationDao, MaterialScheduleRelationEntity> implements MaterialScheduleRelationService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MaterialScheduleRelationEntity> page = this.page(
                new Query<MaterialScheduleRelationEntity>().getPage(params),
                new QueryWrapper<MaterialScheduleRelationEntity>()
        );

        return new PageUtils(page);
    }

}